package com.danco.planner.view.core;


import com.danco.planner.supportclasses.enumeration.IEventType;

public abstract class AbstractLabel extends View {
	
	protected String text;
	public String getText() {
		
		return (text == null)?"":text;
	}
	public void setText(String text) {
		this.text = text;
	}

	
	public AbstractLabel() {
		this("");
	}
	public AbstractLabel(String text) {
		this(text,null);
	}
	public AbstractLabel(String text, IEventType type) {
		
		super(type);
		setText(text);
	}
	

	/*
	 * We need to override this method in accordance with the specific of child class
	 * @see com.danco.planner.view.core.View#show()
	 */
	public void customShow() {
		super.customShow();
	}
}
